package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Permission;

import java.util.List;

/**
 * @创建人 红莲
 * @创建时间 2020/9/1 15:17
 * @版本 1.0
 * @描述
 */
public interface PermissionService {

    public PageResult pageQuery(QueryPageBean queryPageBean);

    public void add(Permission permission);

    public Permission findById(Integer id);

    public void update(Permission permission);

    public void delete(Integer id);

    List<Permission> findAllPermission();
}
